export const PAGE_CODE = 'dcs-afterSales-partServiceProperty';
import {PAGE} from '../constants';
import {baseDataStatus} from '../Enum';
export const PERMISSION = Object.freeze({
    add: 'add',
    abandon: 'abandon',
    update: 'update',
    batchCategory: 'batchCategory',
    categoryAdd: 'category-add',
    categoryUpdate: 'category-update',
    categoryAbandon: 'category-abandon',
    assistAdd: 'assist-add',
    assistUpdate: 'assist-update',
});

export const DEFAULT_QUERY_OPTION = {
    partCategoryId: '',
    code: '',
    name: '',
    status: baseDataStatus.生效,
    pageIndex: PAGE.index,
    pageSize: PAGE.size,
};

export const dangerColor = '#ff4d4f';

export const DEFAULT_SUBMIT_DATA = {
    partDutyUnits: [],
    partServicePrices: [],
};

export const DEFAULT_QUERY_ASSISTS_OPTION = {
    code: '',
    name: '',
    pageIndex: PAGE.index,
    pageSize: PAGE.smallSize
};

